package views;

import android.view.View;

/**
 * This interfaces with the presenter so it can control the view
 * 
 * @author Miles Raphael
 */
public interface IFieldView {

	/**
	 * advances to the next source
	 * 
	 * @param source
	 *            - the source
	 */
	void advance(View source);

	/**
	 * shows the failure
	 * 
	 * @param toast
	 *            - the toast message
	 */
	void showToast(String toast);

	/**
	 * hides the soft keyboard
	 * 
	 * @param source
	 *            - the source
	 */
	void hideSoftKeyboard(View source);

	/**
	 * Shows a progress bar
	 */
	void showProgressBar();
}